<!-- Begin Left Column -->
<div id="leftcolumn">

	Pawn Number: <?=$result['pawn_control_number'].br() ?>
	Customer Name: <?=$result['last_name'].' '.$result['first_name'].' '.$result['middle'].br()?>
	Pawn Date: 	<?=date('m-d-Y',mysql_to_unix($result['pawn_date'])) ?>

	<h1>Items</h1>	
	<table border="1" style="border-collapse: collapse;">
	  	<thead>
   		<tr>
       		<th>Item Id</th>
       		<th>Item Type</th>
       		<th>Item Wt</th>
       		<th>Metal</th>
       		<th>kts</th>
       		<th>Gender</th>
       		<th>Style</th>
       		<th>Size/Length</th>
       		<th># Stones</th>
       		<th>Stone Shape</th>
       		<th>Stone Carat</th>
       		<th>Stone Color</th>
       		<th>Note</th>
	    	</tr>
	  	</thead>
		<tbody>	
			<?php foreach ($item_result as $row): ?>
			<tr>
				<td><?=$row['item_id']?></td>
				<td><?=$row['item_type_description']?></td>
				<td><?=$row['wt'] ?></td>
				<td><?=$row['metal_description']?></td>
				<td><?=$row['item_kt']?></td>
				<td><?=$row['item_gender_description']?></td>
				<td><?=$row['item_style_description']?></td>
				<td><?=$row['size_length']?></td>
				<td><?=$row['number_of_stones']?></td>
				<td><?=$row['stone_shape_description']?></td>
				<td><?=$row['stone_carat']?></td>
				<td><?=$row['stone_color_description']?></td>
				<td><?=$row['item_note']?></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
<!-- End Left Column -->


<!-- Begin Right Column -->
<div id="rightcolumn">
   <li><?php echo anchor('customers/show','Back to main page'); ?></li>


</div>
<!-- End Right Column -->
	
	
